Framework for the deployment of event-based applications

ABSTRACT

A distributed event processing system is disclosed that receives continuous data streams, registers a continuous query against the data streams, and continuously executes the query as new data appears in the streams. In certain embodiments, the distributed event processing system deploys and executes applications (e.g., event processing applications) by distributing the execution of the application on a cluster of machines within the system. In certain embodiments, the system receive updates to an application, processes the updated application against a continuous stream of data, and continuously generates updated results to a user. In certain embodiments, the system reduces delays associated with application deployment and execution when updates to an application are received. The system enables a user to view results pertaining to an updated application quickly without experiencing the typical deployment and execution delays that occur when updates to an application are made.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a continuation of International Application No. PCT/RU2017/000135, filed Mar. 17, 2017, entitled “FRAMEWORK FOR THE DEPLOYMENT OF EVENT-BASED APPLICATIONS,” the entire contents of which is herein incorporated by reference for all purposes. This application is also related to International Application No. PCT/RU2017/000136, filed Mar. 17, 2017, entitled “INTEGRATING LOGIC IN MICRO BATCH BASED EVENT PROCESSING SYSTEMS,” the entire contents of which is incorporated herein by reference for all purposes.

BACKGROUND

In traditional database systems, data is stored in one or more databases usually in the form of tables. The stored data is then queried and manipulated using a data management language such as a structured query language (SQL). For example, a SQL query may be defined and executed to identify relevant data from the data stored in the database. A SQL query is thus executed on a finite set of data stored in the database. Further, when a SQL query is executed, it is executed once on the finite data set and produces a finite static result. Databases are thus best equipped to run queries over finite stored data sets.

A number of modern applications and systems however generate data in the form of continuous data or event streams instead of a finite data set. Examples of such applications include but are not limited to sensor data applications, financial tickers, network performance measuring tools (e.g. network monitoring and traffic management applications), clickstream analysis tools, automobile traffic monitoring, and the like. Such applications have given rise to a need for a new breed of applications that can process the data streams. For example, a temperature sensor may be configured to send out temperature readings.

Managing and processing data for these types of event stream-based applications involves building data management and querying capabilities with a strong temporal focus. A different kind of querying mechanism is needed that comprises long-running queries over continuous unbounded sets of data. While some vendors now offer product suites geared towards event streams processing, these product offerings still lack the processing flexibility required for handling today's events processing needs.

BRIEF SUMMARY

Techniques are provided (e.g., a method, a system, non-transitory computer-readable medium storing code or instructions executable by one or more processors) for processing events of a continuous event stream. In an embodiment, a distributed event processing system is disclosed that can receive one or more continuous data streams, register a continuous query against the data streams, and continuously execute the query as new data appears in the streams. In certain embodiments, the distributed event processing system may be configured to deploy and execute applications (e.g., event processing applications) by distributing the execution of the application on a cluster of machines within the system. In certain embodiments, the distributed event processing system may be configured to receive updates to an application, process the updated application against a continuous stream of data, and continuously generate updated results to a user. In certain embodiments, the system reduces delays associated with application deployment and execution when updates to an application are received and enables a user to view results pertaining to an updated application quickly without experiencing the typical deployment and execution delays that occur when updates to an application are made.

In certain embodiments, the distributed event processing system comprises a memory storing a plurality of instructions and one or more processors configured to access the memory. The processors are configured to receive information that identifies an application, determine that the application is to be deployed, and transmit an instruction to deploy the application to a cluster of computing nodes in the distributed event processing system. The processors are further configured to receive, at a first service, information that identifies a location of a computing node in the cluster of computing nodes where the application is deployed and store the information that identifies the location of the computing node.

In certain embodiments, the processors are configured to receive event data related to the application via an event stream, transmit the event data to the computing node in the cluster of computing nodes for processing, receive results related to processing of the event data from the computing node in the cluster of computing nodes and transmit the results to a user of the first computing device.

In certain examples, the processors are configured to receive an update to the application, determine that the application is deployed on the computing node in the cluster of computing nodes, and transmit the update to a second service on the cluster of computing nodes. In certain examples, the processors are configured to determine that the application is deployed on the computing node based on the information that identifies the location of the computing node, stored in the computing node. In an example, the information that identifies the location of the computing node in the cluster of computing nodes is determined by the second service associated with the cluster of computing nodes.

In certain examples, the computing node in the cluster of computing nodes is configured to receive, from the second service, the update to the application, identify a portion of a Directed Acyclic Graph (DAG) of the application that corresponds to the update, and generate an updated DAG for the application based on the identified portion. In certain examples, the processors are configured to receive the event data related to the application, transmit the event data to the computing node in the cluster of computing nodes for processing, and receive updated results related to the processing of the event data relative to the updated DAG of the application, from the computing node in the cluster of computing nodes. In certain examples, the processors are configured to provide updated results to the user.

In some examples, the first service is a Representational State Transfer (REST) service associated with the first computing device, the second service is a REST service associated with the cluster of computing nodes, and the information that identifies the location of the computing node is a Universal Resource Locator (URL) of the computing node on the cluster of computing nodes.

In some examples, the computing node in the cluster of computing nodes is configured to generate a DAG of transformations associated with the application, identify a set of tasks to be executed based on the DAG of transformations, invoke a set of worker computing nodes to perform the set of tasks, where the set of tasks are identified based on the set of one or more transformations associated with the application, and execute the set of tasks relative to the event data received via the event stream. In some examples, the computing node in the cluster of computing nodes is configured to generate results related to processing of the event data based on the execution of the set of tasks and transmit the results to the user.

The techniques described above and below may be implemented in a number of ways and in a number of contexts. Several example implementations and contexts are provided with reference to the following figures, as described below in more detail. However, the following implementations and contexts are but a few of many.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a simplified block diagram illustrating components of a distributed event processing system, in accordance with an embodiment of the present disclosure.

FIG. 2 is a simplified high level diagram of an event processing system 200 that may incorporate an embodiment of the present disclosure.

FIG. 3 is a simplified block diagram illustrating the components of a distributed event processing service that is configured to provide an environment for processing event streams, in accordance with an embodiment of the present disclosure.

FIG. 4A is a simplified block diagram illustrating the components of a distributed event processing system, in accordance with an embodiment of the present disclosure.

FIG. 4B is a simplified block diagram illustrating the operations performed by the distributed event processing system when an update to an application is received, in accordance with an embodiment of the present disclosure.

FIG. 5 is a simplified block diagram illustrating the components of an application update module in a distributed event processing system, in accordance with an embodiment of the present disclosure.

FIG. 6 is an exemplary flow diagram of a process 600 that describes a set of operations performed by the application manager module of the distributed event processing system, in accordance with an embodiment of the present disclosure.

FIG. 7 is an exemplary flow diagram of a process 700 that describes a set of operations performed by the application manager module of the distributed event processing system, when an update to an application is received.

FIG. 8 is an exemplary flow diagram of a process 800 that describes a set of operations performed by the cluster of computing nodes of the distributed event processing system, in accordance with an embodiment of the present disclosure.

FIG. 9 is an exemplary flow diagram of a process 900 that describes a set of operations performed by the cluster of computing nodes of the distributed event processing system, when an update to an application is received.

FIG. 10 depicts a simplified diagram of a distributed system 1000 for implementing one of the embodiments.

FIG. 11 is a simplified block diagram of one or more components of a system environment 1100 by which services provided by one or more components of an embodiment system may be offered as cloud services, in accordance with an embodiment of the present disclosure.

FIG. 12 illustrates an exemplary computer system 1200, in which various embodiments of the present disclosure may be implemented.

DETAILED DESCRIPTION

In the following description, various embodiments will be described. For purposes of explanation, specific configurations and details are set forth in order to provide a thorough understanding of the embodiments. However, it will also be apparent to one skilled in the art that the embodiments may be practiced without the specific details. Furthermore, well-known features may be omitted or simplified in order not to obscure the embodiment being described.

Overview of Complex Event Processing (CEP)

Complex Event Processing (CEP) provides a modular platform for building applications based on an event-driven architecture. At the heart of the CEP platform is the Continuous Query Language (CQL), which allows applications to filter, query, and perform pattern-matching operations on streams of data using a declarative, SQL-like language. Developers may use CQL in conjunction with a lightweight Java programming model to write applications. Other platform modules include a feature-rich IDE, management console, clustering, distributed caching, event repository, and monitoring, to name a few.

As event-driven architecture and complex event processing have become prominent features of the enterprise computing landscape, more and more enterprises have begun to build mission-critical applications using CEP technology. Today, mission-critical CEP applications can be found in many different industries. For example, CEP technology is being used in the power industry to make utilities more efficient by allowing them to react instantaneously to changes in demand for electricity. CEP technology is being used in the credit card industry to detect potentially fraudulent transactions as they occur in real time. The list of mission-critical CEP applications continues to grow. The use of CEP technology to build mission-critical applications has led to a need for CEP applications to be made highly available and fault-tolerant.

Today's Information Technology (IT) environments generate continuous streams of data for everything from monitoring financial markets and network performance, to business process execution and tracking RFID tagged assets. CEP provides a rich, declarative environment for developing event processing applications to improve the effectiveness of business operations. CEP can process multiple event streams to detect patterns and trends in real time and provide enterprises the necessary visibility to capitalize on emerging opportunities or mitigate developing risks.

A continuous stream of data (also referred to as an event stream) may include a stream of data or events that may be continuous or unbounded in nature with no explicit end. Logically, an event or data stream may be a sequence of data elements (also referred to as events), each data element having an associated timestamp. A continuous event stream may be logically represented as a bag or set of elements (s, T), where “s” represents the data portion, and “T” is in the time domain. The “s” portion is generally referred to as a tuple or event. An event stream may thus be a sequence of time-stamped tuples or events.

In some aspects, the timestamps associated with events in a stream may equate to a clock time. In other examples, however, the time associated with events in an event stream may be defined by the application domain and may not correspond to clock time but may, for example, be represented by sequence numbers instead. Accordingly, the time information associated with an event in an event stream may be represented by a number, a timestamp, or any other information that represents a notion of time. For a system receiving an input event stream, the events arrive at the system in the order of increasing timestamps. There could be more than one event with the same timestamp.

In some examples, an event in an event stream may represent an occurrence of some worldly event (e.g., when a temperature sensor changed value to a new value, when the price of a stock symbol changed) and the time information associated with the event may indicate when the worldly event represented by the data stream event occurred.

For events received via an event stream, the time information associated with an event may be used to ensure that the events in the event stream arrive in the order of increasing timestamp values. This may enable events received in the event stream to be ordered based upon their associated time information. In order to enable this ordering, timestamps may be associated with events in an event stream in a non-decreasing manner such that a later-generated event has a later timestamp than an earlier-generated event. As another example, if sequence numbers are being used as time information, then the sequence number associated with a later-generated event may be greater than the sequence number associated with an earlier-generated event. In some examples, multiple events may be associated with the same timestamp or sequence number, for example, when the worldly events represented by the data stream events occur at the same time. Events belonging to the same event stream may generally be processed in the order imposed on the events by the associated time information, with earlier events being processed prior to later events.

The time information (e.g., timestamps) associated with an event in an event stream may be set by the source of the stream or alternatively may be set by the system receiving the stream. For example, in certain embodiments, a heartbeat may be maintained on a system receiving an event stream, and the time associated with an event may be based upon a time of arrival of the event at the system as measured by the heartbeat. It is possible for two events in an event stream to have the same time information. It is to be noted that while timestamp ordering requirement is specific to one event stream, events of different streams could be arbitrarily interleaved.

An event stream has an associated schema “S,” the schema comprising time information and a set of one or more named attributes. All events that belong to a particular event stream conform to the schema associated with that particular event stream. Accordingly, for an event stream (s, T), the event stream may have a schema ‘S’ as (<time stamp>, <attribute(s)>), where <attributes> represents the data portion of the schema and can comprise one or more attributes. For example, the schema for a stock ticker event stream may comprise attributes <stock symbol>, and <stock price>. Each event received via such a stream will have a time stamp and the two attributes. For example, the stock ticker event stream may receive the following events and associated timestamps:

-   -   . . .     -   (<timestamp_N>, <NVDA,4>)     -   (<timestamp_N+1>, <ORCL,62>)     -   (<timestamp_N+2>, <PCAR,38>)     -   (<timestamp_N+3>, <SPOT,53>)     -   (<timestamp_N+4>, <PDCO,44>)     -   (<timestamp_N+5>, <PTEN,50>)     -   . . .

In the above stream, for stream element (<timestamp_N+1>, <ORCL,62>), the event is <ORCL,62> with attributes “stock_symbol” and “stock_value.” The timestamp associated with the stream element is “timestamp_N+1.” A continuous event stream is thus a flow of events, each event having the same series of attributes.

As noted, a stream may be the principle source of data that CQL queries may act on. A stream S may be a bag (also referred to as a “multi-set”) of elements (s, T), where “s” is in the schema of S and “T” is in the time domain. Additionally, stream elements may be tuple-timestamp pairs, which can be represented as a sequence of timestamped tuple insertions. In other words, a stream may be a sequence of timestamped tuples. In some cases, there may be more than one tuple with the same timestamp. In addition, the tuples of an input stream may be requested to arrive at the system in order of increasing timestamps. Alternatively, a relation (also referred to as a “time varying relation,” and not to be confused with “relational data,” which may include data from a relational database) may be a mapping from the time domain to an unbounded bag of tuples of the schema R. In some examples, a relation may be an unordered, time-varying bag of tuples (i.e., an instantaneous relation). In some cases, at each instance of time, a relation may be a bounded set. It can also be represented as a sequence of timestamped tuples that may include insertions, deletes, and/or updates to capture the changing state of the relation. Similar to streams, a relation may have a fixed schema to which each tuple of the relation may conform. Further, as used herein, a continuous query may generally be capable of processing data of (i.e., queried against) a stream and/or a relation. Additionally, the relation may reference data of the stream.

Distributed Event Processing

In certain situations, users of an enterprise may wish to identify and respond to significant events that occur within the enterprise quickly so that they can take immediate action upon the identification of such events. For example, a user may wish to identify significant events that relate to sales orders that have crossed a threshold within the enterprise. In such a scenario, a user may submit one or more queries to a data store/data warehouse and wish to view the results of a query in less than a few seconds rather than in minutes or hours so that the user can take immediate action if an anomaly is detected. Real-time data processing and data analytics may be used by enterprises to process event streams in real-time for more reactive decision making and to take immediate action for those times when acting within seconds or minutes is significant.

In accordance with an embodiment of the present disclosure, a distributed event processing system is disclosed that can process or query very large quantities of data relatively quickly and in real-time using a combination of CEP and distributed event stream processing. The distributed event processing system can perform real-time processing of data streams by executing queries (e.g., CQL queries) against the data streams (e.g., live feeds) that are received continuously. The distributed event processing system can receive one or more continuous data streams, register a continuous query against the data streams, and continuously execute the query as new data appears in the streams. Since this type of continuous query is long-running, the distributed event processing system can provide a continuous stream of results to a user.

In certain embodiments, the disclosed distributed event processing system may be configured to deploy and execute applications (e.g., event processing applications) by distributing the execution of an application on a cluster of machines within the system. An event processing application described herein may include a set of rules that may be expressed in the form of continuous queries that are used to process input streams. A continuous query may comprise instructions (e.g., logic) that identify the processing to be performed for received events including what events are to be selected as notable events and output as results of the query processing. Continuous queries may typically perform filtering and aggregation functions to discover and extract notable events from the input event streams. An application can be configured to listen to one or more input event streams, execute logic (e.g., a query) for selecting one or more notable events from the one or more input event streams, and output the selected notable events via one or more output event streams.

For instance, an event processing application may comprise a word counting application that counts a quantity of references to a particular word within a set of input texts. Such an application can include, for example, continuous queries that read a set of texts and count the number of times that each word appears in each text. The input text may contain, for example, short messages received in the stream from an on-line application, such as Facebook® or Twitter®. As noted above, continuous queries may be configured using the CQL language. For instance, to specify a word-counting task/operation to be performed in the word counting streaming application, a user can write a CQL query that can take a form such as: FROM location GROUP BY word SELECT count. Such a query can gather all of the sentences from the specified location, group the unique words from those sentences into distinct groups, and then count the quantity of words in each group.

By distributing the execution of the application on a cluster of machines, the disclosed distributed event processing system may be configured to provide results pertaining to the execution of the application quickly and in real-time to a user. The distributed event processing system may be configured to partition the data pertaining to the application into separate computing nodes, and each computing node can be maintained as a separate file on a separate computing machine. Each such machine can be configured to execute a query in the application in parallel with the other machines relative to the data maintained on that machine.

In certain embodiments, the disclosed distributed event processing system may be configured to reduce delays associated with application deployment and execution, for example, when updates to an application are received. For instance, continuing with the example of the word counting application described above, a user building the application may wish to determine, in addition to the word count, the distribution of letters in the most popular words received in the continuous input stream of texts. Thus, the user may update the application to include a query to filter out all the words that appear fewer times than the threshold and another query to count the number of times that each letter occurs for the remaining words in the text.

When an update to an application is thus received, the disclosed distributed event processing system, in certain embodiments, is configured to identify the location of the computing node in the cluster of machines in the distributed event processing system where the application is executing and identify a portion of the topology of the application that corresponds to the update. The distributed event processing system may be configured to identify the updated portion of the topology of the application that includes the additional queries added by the user and execute only those queries, instead of re-deploying or re-executing the entire application. Thus, the distributed event processing system reduces delays associated with application deployment and execution when updates to an application are received. Thus, a user of the application can view results pertaining to an updated application quickly without experiencing the typical deployment and execution delays that occur when updates to an application are made.

The techniques described above may be implemented in a number of ways and in a number of contexts. Several example implementations and contexts are provided with reference to FIGS. 1-8 below which describe additional details of the manner in which the disclosed distributed event processing system may perform operations related to the deployment and execution of event processing applications.

FIG. 1 is a simplified block diagram 100 illustrating components of a distributed event processing system 110, in accordance with an embodiment of the present disclosure. The embodiment shown in FIG. 1 is one example of a distributed event processing system that may incorporate an embodiment of the present disclosure. In some other embodiments, system 110 may have more or fewer components than shown in FIG. 1, may combine two or more components, or may have a different configuration or arrangement of components. System 110 can be any type of computing device, such as, but not limited to, a mobile, desktop, thin-client, and/or cloud computing device, a server, or any other data processing system.

In some examples, the distributed event processing system 110 may be made up of pre-integrated and optimized combinations of software resources, hardware resources, networking resources, and other resources. Hardware resources may include, without limitation, servers, data storage devices, servers, printers, or the like. Software resources may include, without limitation, a computing program, an application (e.g., cloud-based applications, enterprise applications, or any other applications), a computer-program product (e.g., software), a service (e.g., cloud-based services), or the like. Data resources may include, without limitation, any accessible data objects such as a file (e.g., a networked file or directory information), a database, and the like.

In certain embodiments, the distributed event processing system 110 may be capable of receiving a continuous stream of data 106, registering an application against the continuous stream of data and continuously executing the queries in the application to process the data as they appear in the stream. In an embodiment, the distributed event processing system 110 may include an application manager module 102 and a cluster of computing nodes 104. The application manager module 102 may be configured to deploy one or more applications (e.g., an event processing application) for execution by computing nodes in the cluster of computing nodes 104. As noted above, by distributing the deployment of the application on a cluster of machines/nodes, the distributed event processing system 110 may be configured to provide results pertaining to the execution of the application quickly and in real-time to a user. The distributed event processing system 110 may be configured to continuously execute the application against the continuous stream of data (or a batch of events) 106 and continuously output the results 108 of the processing to a user of the distributed event processing system. Additional operations performed by the distributed event processing system 100 are described in detail with reference to FIGS. 3-9 below.

FIG. 2 depicts a simplified high level diagram of an event processing system 200 that may incorporate an embodiment of the present disclosure. Event processing system 200 may comprise one or more event sources (204, 206, 208), an event processing service (EPS) 202 (also referred to as CQ Service 202) that is configured to provide an environment for processing event streams, and one or more event sinks (210, 212). The event sources generate event streams that are received by EPS 202. EPS 202 may receive one or more event streams from one or more event sources. For example, as shown in FIG. 2, EPS 202 receives a first input event stream 214 from event source 204, a second input event stream 216 from event source 206, and a third event stream 218 from event source 208. One or more event processing applications (214, 216, and 218) may be deployed on and be executed by EPS 202. An event processing application executed by EPS 202 may be configured to listen to one or more input event streams, process the events received via the one or more event streams based upon processing logic that selects one or more events from the input event streams as notable events. The notable events may then be sent to one or more event sinks (210, 212) in the form of one or more output event streams. For example, in FIG. 2, EPS 202 outputs a first output event stream 220 to event sink 210, and a second output event stream 222 to event sink 212. In certain embodiments, event sources, event processing applications, and event sinks are decoupled from each other such that one can add or remove any of these components without causing changes to the other components.

In one embodiment, EPS 202 may be implemented as a Java server comprising a lightweight Java application container, such as one based upon Equinox OSGi, with shared services. In some embodiments, EPS 202 may support ultra-high throughput and microsecond latency for processing events, for example, by using JRockit Real Time. EPS 202 may also provide a development platform (e.g., a complete real time end-to-end Java Event-Driven Architecture (EDA) development platform) including tools (e.g., Oracle CEP Visualizer and Oracle CEP IDE) for developing event processing applications.

An event processing application is configured to listen to one or more input event streams, execute logic (e.g., a query) for selecting one or more notable events from the one or more input event streams, and output the selected notable events to one or more event sources via one or more output event streams. FIG. 2 provides a drilldown for one such event processing application 214. As shown in FIG. 2, event processing application 214 is configured to listen to input event stream 218, execute a continuous query 230 comprising logic for selecting one or more notable events from input event 218, and output the selected notable events via output event stream 222 to event sink 212. Examples of event sources include, without limitation, an adapter (e.g., JMS, HTTP, and file), a channel, a processor, a table, a cache, and the like. Examples of event sinks include, without limitation, an adapter (e.g., JMS, HTTP, and file), a channel, a processor, a cache, and the like.

Although event processing application 214 in FIG. 1 is shown as listening to one input stream and outputting selected events via one output stream, this is not intended to be limiting. In alternative embodiments, an event processing application may be configured to listen to multiple input streams received from one or more event sources, select events from the monitored streams, and output the selected events via one or more output event streams to one or more event sinks. The same query can be associated with more than one event sink and with different types of event sinks.

Due to its unbounded nature, the amount of data that is received via an event stream is generally very large. Consequently, it is generally impractical and undesirable to store or archive all the data for querying purposes. The processing of event streams requires processing of the events in real-time as the events are received by EPS 202 without having to store all the received events data. Accordingly, EPS 202 provides a special querying mechanism that enables processing of events to be performed as the events are received by EPS 202 without having to store all the received events.

Event-driven applications are rule-driven and these rules may be expressed in the form of continuous queries that are used to process input streams. A continuous query may comprise instructions (e.g., logic) that identify the processing to be performed for received events including what events are to be selected as notable events and output as results of the query processing. Continuous queries may be persisted to a data store and used for processing input streams of events and generating output streams of events. Continuous queries typically perform filtering and aggregation functions to discover and extract notable events from the input event streams. As a result, the number of outbound events in an output event stream is generally much lower than the number of events in the input event stream from which the events are selected.

Unlike a SQL query that is run once on a finite data set, a continuous query that has been registered by an application with EPS 202 for a particular event stream may be executed each time that an event is received in that event stream. As part of the continuous query execution, EPS 202 evaluates the received event based upon instructions specified by the continuous query to determine whether one or more events are to be selected as notable events, and output as a result of the continuous query execution.

The continuous query may be programmed using different languages. In certain embodiments, continuous queries may be configured using the CQL provided by Oracle Corporation and used by Oracle's Complex Events Processing (CEP) product offerings. Oracle's CQL is a declarative language that can be used to program queries (referred to as CQL queries) that can be executed against event streams. In certain embodiments, CQL is based upon SQL with added constructs that support processing of streaming events data.

In one embodiment, an event processing application may be composed of the following component types:

(1) One or more adapters that interface directly to the input and output stream and relation sources and sinks. Adapters are configured to understand the input and output stream protocol, and are responsible for converting the event data into a normalized form that can be queried by an application processor. Adapters may forward the normalized event data into channels or output streams and relation sinks. Event adapters may be defined for a variety of data sources and sinks. (2) One or more channels that act as event processing endpoints. Among other things, channels are responsible for queuing event data until the event processing agent can act upon it. (2) One or more application processors (or event processing agents) are configured to consume normalized event data from a channel, process it using queries to select notable events, and forward (or copy) the selected notable events to an output channel. (4) One or more beans are configured to listen to the output channel, and are triggered by the insertion of a new event into the output channel. In some embodiments, this user code is a plain-old-Java-object (POJO). The user application can make use of a set of external services, such as JMS, Web services, and file writers, to forward the generated events to external event sinks. (5) Event beans may be registered to listen to the output channel, and are triggered by the insertion of a new event into the output channel. In some embodiments, this user code may use the Oracle CEP event bean API so that the bean can be managed by Oracle CEP.

In one embodiment, an event adapter provides event data to an input channel. The input channel is connected to a CQL processor associated with one or more CQL queries that operate on the events offered by the input channel. The CQL processor is connected to an output channel to which query results are written.

In some embodiments, an assembly file may be provided for an event processing application describing the various components of the event processing application, how the components are connected together, event types processed by the application. Separate files may be provided for specifying the continuous query or logic for selection of events.

It should be appreciated that system 200 depicted in FIG. 2 may have other components than those depicted in FIG. 2. Further, the embodiment shown in FIG. 2 is only one example of a system that may incorporate an embodiment of the present disclosure. In some other embodiments, system 200 may have more or fewer components than shown in FIG. 2, may combine two or more components, or may have a different configuration or arrangement of components. System 200 can be of various types including a service provider computer, a personal computer, a portable device (e.g., a mobile telephone or device), a workstation, a network computer, a mainframe, a kiosk, a server, or any other data processing system. In some embodiments, system 200 may be configured as a distributed event processing system as will be discussed in detail in FIGS. 3-9. In some other embodiments, and as described in FIG. 12, system 200 may be configured as a distributed system where one or more components of 200 are distributed across one or more networks in the cloud.

The one or more of the components depicted in FIG. 2 may be implemented in software, in hardware, or combinations thereof. In some embodiments, the software may be stored in memory (e.g., a non-transitory computer-readable medium), on a memory device, or some other physical memory and may be executed by one or more processing units (e.g., one or more processors, one or more processor cores, one or more GPUs, etc.).

FIG. 3 is a simplified block diagram 300 illustrating the components of a distributed event processing service 306 that is configured to provide an environment for processing event streams, in accordance with an embodiment of the present disclosure. It should be appreciated that the service 306 is one example of a distributed event processing service that may incorporate an embodiment of the present disclosure. In some other embodiments, the service 306 may have more or fewer components than shown in FIG. 3, may combine two or more components, or may have a different configuration or arrangement of components. In an embodiment, the service 306 may be configured as part of an integrated, distributed computing environment for processing event streams. The service 306 may include a plurality of computing devices, arranged in a cluster, as a server farm, or as individual servers not associated with one another. These servers may be configured to perform or otherwise host features described herein including, but not limited to distributed event processing, described herein.

In certain embodiments, the distributed event processing service 306 may include an event stream processor 302 and a distributed event processing system 304. The event stream processor 302 may be configured to receive one or more event streams 308 from one or more event sources (e.g., 204, 206, 208 as described in FIG. 2) and discretize the event stream into batches of events 310 for subsequent processing by the distributed event processing system 304. For example, the event stream processor 302 may be configured to capture the event streams in short time windows (e.g., one second duration windows) and computations may be performed by the distributed event processing system 304 over each batch of events. In an embodiment, the event stream processor 302 may be configured to represent the continuous event stream as a discretized stream (referred to herein as a DStream) of one or more batches of events. Each batch of events may internally be represented by the event stream processor 302 as a Resilient Distributed Dataset (RDD), which is a snapshot of all the input stream of data ingested during a specified time period. Thus, in certain embodiments, the event stream processor 302 may be configured to structure the stream of input data as a sequence of RDDs which may be subsequently distributed and stored in the distributed event processing system 304. In some embodiments, the distributed event processing system 304 may comprise a cluster of computing nodes configured to execute tasks to process the batches of events and output the results 312 of the processing (i.e., batches of processed data) to a user of the distributed event processing system. In an embodiment, the distributed event processing service 300 may be configured to provide a real-time streaming platform (e.g., by using the Spark Streaming framework from Apache®) to perform the distributed and real-time processing of continuous streams of data and the deployment of event processing applications. Additional operations performed by the distributed event processing system 304 are described in detail in relation to FIGS. 4A and 4B discussed below.

FIG. 4A is a simplified block diagram 400 illustrating the components of a distributed event processing system, in accordance with an embodiment of the present disclosure. The distributed event processing system 401 may be the same as or similar to the distributed event processing system 100, 304 described in FIGS. 1 and 3 above. The embodiment shown in FIG. 4A is one example of a distributed event processing system that may incorporate an embodiment of the disclosure. In other embodiments, the distributed event processing engine may have more or fewer components than shown in FIG. 4A, may combine two or more components, or may have a different configuration or arrangement of components. These components may be implemented in hardware, firmware, software, or combinations thereof. In some embodiments, the software may be stored in memory (e.g., a non-transitory computer-readable medium), on a memory device, or some other physical memory and may be executed by one or more processing units (e.g., one or more processors, one or more processor cores, one or more GPUs, etc.). The embodiment shown in FIG. 4A is thus one example of a distributed event processing engine for implementing an embodiment system and is not intended to be limiting.

In certain embodiments, the distributed event processing system 401 may be capable of receiving one or more batches of events (for e.g., from an event processing service 202 as described in FIG. 2 or an event stream processor 302 as described in FIG. 3), registering an application against the batches of events and continuously executing the queries in the application to process the batches of events as they appear in the stream. In an embodiment, the distributed event processing system 401 may include an application manager module 402 and a cluster of computing nodes 412. The application manager module 402 may be configured to deploy one or more applications (e.g., an event processing application) for processing and execution by the computing nodes in the cluster of computing nodes 412. An application as used herein may refer to a user program built by a user of the distributed event processing system. As described above, an application may include a set of rules that may be expressed in the form of continuous queries that are used to process the data in a continuous data stream. In an embodiment, the distributed event processing system 401 may be configured to continuously execute the application against the continuous data stream and continuously output the results of the processing to a user of the distributed event processing system.

In certain embodiments, the application manager module 402 may include an application design user interface 404, an application manager 406, an application deployment module 408, and an application manager REST Service 410. These components may be implemented in hardware, firmware, software, or combinations thereof. The application design user interface 404 may provide an interface (e.g., a graphical user interface) for a user of the distributed event processing system to generate/build an application. For instance, a user may build an application by defining a set of rules expressed in the form of continuous queries (e.g., using the CQL language) to process the events received in an event batch.

In certain embodiments, the application manager 406 may be configured to receive information that identifies an application via the application design user interface 404. Information that identifies an application may include, for instance, a set of one or more rules expressed in the form of continuous queries that can be used to process events arriving in a continuous data stream. For instance, a user of the distributed event processing system may wish to develop an application that counts the number of cars (events) that pass by a freeway every hour. Information related to this application may include, a rule that can count the number of cars passing by the freeway every hour. This rule can be expressed in the form of a continuous query such as Select count 0 from carStream [range 1 hour] group by freewayId, where 0 indicates a particular lane on the freeway.

In certain embodiments, information that identifies an application may also include application parameters associated with the application. Application parameters may include, for instance, a deployment type parameter that specifies a type of deployment (e.g., ‘cluster mode’) of the application on the cluster of nodes 412. Additional application parameters may include parameters related to runtime configuration of application (e.g., the number of executors to use, parallelism parameters, the size of memory, the high availability parameters, and so on).

Upon receiving the information related to the application via the application design user interface 404 as discussed above, in certain embodiments, the application manager 406 then determines whether the application needs to be deployed. If the application needs to be deployed, the application manager 406 transmits an instruction to the application deployment module 408 which then transmits an instruction to the cluster of computing nodes 412 to deploy the application on the cluster.

Upon receiving the instruction from the application manager module 402, the cluster of computing nodes 412 deploys the application to a computing node on the cluster of computing nodes 412. In certain embodiments, when the application is deployed to a computing node on the cluster of nodes, the application is configured to run a service to receive requests from the application manager 406 in the application manager module 402. In certain embodiments, a CQL Representational State Transfer(REST) service 414 can be used to provide such a service. In an embodiment, the CQL Application REST Service 414 is part of the master computing node 416. In such an embodiment, when the application is deployed to a computing node (e.g., 416) on the cluster of nodes, the application transmits information such as the REST service URL of the CQL Application REST Service 414 to determine the location (i.e., the location of the computing node) on the cluster of computing nodes 412 where it is executing/deployed at. For example, the application may be configured to transmit a request to the REST service 414 via a REST Application Programming Interface (API) associated with the computing node that it is executing at.

In some examples, and as noted above, the CQL application REST service 414 may be a service located on the master computing node 416 in the cluster of computing nodes 412 that enables secure interactions with an application by allowing the application to communicate requests to it via a REST interface. When the application launches and the CQL application REST service 414 starts within the application, the CQL application REST service 414 may be configured to identify the location of the computing node (e.g., 416) in the cluster of computing nodes 412 that the application is deployed at and transmit a REST URL (that indicates the location of the computing node) to the application. The computing node 416 then transmits the REST URL of the CQL application REST service 414 to a REST service (e.g., an application manager REST service 410) associated with the application manager module 402. In certain embodiments, the REST URL of the application manager REST service 410 can be configured as part of the application runtime configuration. In certain embodiments, the application manager 406 may be configured to store the REST URL associated with the application.

As will be discussed in FIG. 4B below, by storing the REST URL, the application manager 406 can identify the location (i.e., the computing node 416) on the cluster of computing nodes 412 that the application is deployed at. Thus, when a user wishes to make an update to an application (e.g., via the application design user interface 404), the application manager 406 can identify, based on the stored URL, that the application is an application that has already been deployed on a computing node on the cluster of computing nodes. When an update is received, the computing node (e.g., 416) on the cluster of computing nodes 412 can identify only the updated portion of the application and execute only the updated portion of the application. Since the computing node does not have to re-deploy and re-execute the entire application when the update to the application is received, the user can achieve faster turn-around time and is able to view results associated with the application very quickly.

In certain embodiments, the application deployed on the computing node 416 in the cluster of computing nodes 412 may be viewed as an independent process executing on the cluster of computing nodes 412. In some examples, the computing node 416 may be identified as a master computing node 416 which stores the application context of the application. The application context may include, for instance, the application's content such as the application's topology, scheduling information, application parameters, and the like.

In certain embodiments, the master computing node 416 may also be referred to as the ‘driver program’ or the application master that runs/executes the application. The driver program may be defined as a process that runs the main( ) function of the application and creates the application context for the application. The driver program may be responsible for both driving the application and requesting resources from the resource manager 418. The resource manager 418 may be a service that acquires resources for the computing nodes on the cluster of computing nodes 418 to execute the application. To run/execute the application on the cluster, the master computing node 416 connects to the resource manager 418 which then allocates resources for the application. Once connected, the master computing node 416 acquires one or more executors on one or more computing nodes (also known as worker nodes 420) in the cluster. The executors are processes that run computations and store data for the application. The master computing node 416 sends application code (for example, defined by a JAR file) to the executors. Based on the transformations and actions defined in the application, the master computing node 416 may send tasks to the executors.

In certain embodiments, the master computing node 416 may include a DAG generator 424, a task scheduler 426, and application context information 428. In some examples, an application may be defined by multiple actions or transformations to be performed on a particular data set (e.g., an event batch). For instance, an application may be represented as a “topology” in the shape of a DAG(Directly Acyclic Graph) of operations or transformations. In an embodiment, the DAG generator 424 may define an application as consisting of a number of stages and generate a DAG of stages to be executed by the worker nodes 420 in the cluster of computing nodes 412. Each stage may contain a set of tasks to be run on the worker nodes 420. The task scheduler 426 may then schedule the execution of these tasks.

The above discussion described a set of operations performed by the distributed event processing system 401 during the initial deployment and execution of the application on the cluster of computing nodes 412. In certain embodiments, the distributed event processing system 400 may also be configured to receive updates to an application, process the updated application against a continuous stream of data (or alternatively a batch of events) and continuously generate updated results to a user. In an embodiment, and as will be described in detail in FIG. 4B, the distributed event processing system 401 may be configured to execute the updated application without re-deploying the application on the cluster of nodes, and provide the updated results to the user with reduced turn-around time and reduced delay.

FIG. 4B is a simplified block diagram 440 illustrating the operations performed by the distributed event processing system 401 when an update to an application is received, in accordance with an embodiment of the present disclosure. The distributed event processing system 401 may be the same as or similar to the distributed event processing engine described in FIG. 4A. As noted above, in certain embodiments, the distributed event processing system 401 may be configured to receive an update to an application. For instance, the application manager 406 may be configured to receive an update to an application from a user via the application design user interface 404. For example, continuing with the word count application described above, the user may wish to determine the distribution of letters in the most popular words received in a continuous input stream of text in addition to determining the count of each word in the input text. In such a case, the user may update the application to include a query to filter out all the words that appear fewer times than the threshold and another query to count the number of times that each letter occurs for the remaining words in the text.

When the application manager 406 receives the updated application, it may determine, based on the stored REST URL, that the application is already deployed on a computing node in the cluster of computing nodes 412 and determine, based on the REST URL, the location of the computing node on the cluster of computing node 412 that the application is executing at. The application manger 406 may then be configured to transmit the update to the CQL application REST service 414 on the cluster of computing nodes 412. In an embodiment, the application manager 406 may be configured to transmit a common runtime application model that consists of the updated application to the CQL application REST service 414. The CQL application REST service 414 may then be configured to transmit the updated application to the master computing node 416.

In certain embodiments, the master computing node 416 may include an application update module 430. The application update module 430 may be configured to receive the update, identify the portion of the DAG of the application that corresponds to the update, generate a new/updated DAG for the application and execute the updated DAG. Thus, by executing only the updated DAG of the application, the distributed event processing engine 402 avoids re-deploying and re-executing the entire application each time an update to an application is received. The operations performed by the application update module 430 are discussed in more detail with respect to FIG. 5 below.

FIG. 5 is a simplified block diagram 510 illustrating the components of an application update module in a distributed event processing system, in accordance with an embodiment of the present disclosure. In an embodiment, the application update module 430 may include an application model loader 500, an application model change detector 502, a DAG generator 504, and an application executor 506. These components may be implemented in hardware, firmware, software, or combinations thereof.

In certain embodiments, the application model loader 500 is configured to receive the update from the CQL Application REST Service 414 and load a common runtime application model that consists of the update (i.e., the updated application). The common runtime application model is the logical model that represents the application logic with multiple stages in the graph, which may be represented as a set of Java Objects, in certain examples. In certain embodiments, the application model loader 500 receives an XML string where each XML node represents each stage in the application. The XML node gets transformed into Java Objects using well-known XML parsing techniques. In another embodiment, the application model loader 500 may receive a Spring® XML string where each XML node can directly represent the Java Objects of the common runtime model and the model can be loaded without additional XML parsing. In both embodiments, the outcome of the application model loader 500 is a tree of Java Objects representing the stages in the application logic. The application model change detector 502 is configured to identify the portion of the application model that corresponds to the update from the application model. The application model change detector 502 compares the new application model to the old application model using a graph comparison algorithm. The primary goal of the application model change detector 502 is to determine if the new application is compatible with the existing application and the rules are updated using the existing application logic. In certain embodiments, some changes without changing the shape of the input stream are compatible for application updates including adding or removing the projection fields, adding or removing filters, adding or removing aggregation without group by change, and so on. When the changes are not compatible with the existing application, a whole new DAG is created and used. However, even in such cases, there is still no actual deployment of the application resulting in faster execution than full deployment of the application. The DAG generator 504 is configured to generate a new/updated DAG for the application based on the identified changes. The updated DAG is applied to the existing application running within the application executor 506 and the application executor 506 processes/executes the updated DAG against a continuous stream of data (or alternatively a batch of events) and generate updated results for a user.

FIGS. 6-9 are flow diagrams of processes for implementing systems and methods described herein, in accordance with at least some embodiments. The processes are illustrated as logical flow diagrams, each operation of which represents a sequence of operations that can be implemented in hardware, computer instructions, or a combination thereof. In the context of computer instructions, the operations represent computer-executable instructions stored on one or more computer-readable storage media that, when executed by one or more processors, perform the recited operations. Generally, computer executable instructions include routines, programs, objects, components, data structures and the like that perform particular functions or implement particular data types. The order in which the operations are described is not intended to be construed as a limitation, and any number of the described operations can be combined in any order and/or in parallel to implement the processes.

Additionally, some, any, or all of the process (or any other processes described herein, or variations and/or combinations thereof) may be performed under the control of one or more computer systems configured with executable instructions and may be implemented as code (e.g., executable instructions, one or more computer programs or one or more applications) executing collectively on one or more processors, by hardware or combinations thereof. As noted above, the code may be stored on a computer-readable storage medium, for example, in the form of a computer program comprising a plurality of instructions executable by one or more processors. The computer-readable storage medium may be non-transitory. In some examples, the distributed event processing system 400 (e.g., utilizing at least the application manager module 402 and the cluster of computing nodes 412 described in at least FIGS. 4A and 4B) may perform the processes 600, 700, 800, and 900 of FIGS. 6-9 respectively.

FIG. 6 is an exemplary flow diagram of a process 600 that describes a set of operations performed by the application manager module of the distributed event processing system 400, in accordance with an embodiment of the present disclosure. At 602, the process includes receiving information that identifies an application. At 604, the process includes determining that the application is to be deployed. At 606, the process includes transmitting an instruction to deploy the application to a cluster of computing nodes (e.g., 412). In some embodiments, at 608, the process includes receiving, at a first service (e.g., the Application Manager REST Service 410), information that identifies a location (e.g., a REST URL) of the computing node (e.g., 416) in the cluster of computing nodes where the application is deployed at. In an embodiment, and as discussed above, the information that identifies a location of the computing node in the cluster of computing nodes may be determined by a CQL Application REST Service 414 located on the cluster of computing nodes. At 610, the process includes storing the REST URL (e.g., in the application manager 406 of the application manager module 402).

In some embodiments, the process 600 may further include operations to receive event data related to the application via an event stream, transmit the event data to the computing node in the cluster of computing nodes, receive results related to the processing of the event data from the computing node and transmit the results to a user of the distributed event processing system.

FIG. 7 is an exemplary flow diagram of a process 700 that describes a set of operations performed by the application manager module of the distributed event processing system 400, when an update to an application is received. At 702, the process includes receiving an update to an application. At 704, the process includes determining that the application is deployed on the computing node in the cluster of computing nodes. For example, the process at 704 may include determining based on the REST URL stored in the application manager 406 that that application is already deployed on the computing node (e.g., 416) in the cluster of computing nodes 412.

At 706, the process may include transmitting the update to the CQL application REST service 414 in the cluster of computing nodes. For instance, and as discussed in FIG. 4B and FIG. 5, the application manager 306 may be configured to transmit an XML file or Spring® XML file that represents the common runtime application model that consists of an updated application to the CQL application REST service 414. The CQL application REST service 414 may then be configured to transmit the updated application to the master computing node 416 for further processing.

At 710, the updated application is executed. At 712, the process includes receiving updated results related to the processing of the event data relative to an updated DAG of the application. At 714, the process includes providing the updated results to a user.

FIG. 8 is an exemplary flow diagram of a process 800 that describes a set of operations performed by nodes in the cluster of computing nodes of the distributed event processing system 400, in accordance with an embodiment of the present disclosure. At 802, the process includes receiving, from a first computing device (e.g., the application manager 406 in the application manager module 402) an instruction to deploy an application. At 804, the process includes deploying the application on a computing node (e.g., 416) on the cluster of computing nodes 412. At 806, the process includes receiving, from a second service (e.g., the CQL Application REST Service 414) a URL of the computing node where the application is deployed. At 808, the process includes transmitting the URL to the first service (e.g., the application manager REST service 410) associated with the first computing device (i.e., the application manager module 402).

FIG. 9 is an exemplary flow diagram of a process 900 that describes a set of operations performed by nodes in the cluster of computing nodes of the distributed event processing system 400, when an update to an application is received. At 902, the process includes receiving from the second service (i.e., the CQL Application REST Service 414) the update to the application. As discussed above the process at 902 may include receiving a common runtime application model that consists of the update to the application from the Application Manager REST Service 410. At 904, the process may include identifying the portion of the DAG of the application that corresponds to the update. At 906, the process may include generating a new/updated DAG for the application. In some embodiments, the process 900 may further include executing the updated DAG against a continuous stream of data (or alternatively a batch of events) to generate updated results for a user.

FIGS. 10-12 illustrate aspects of example environments for implementing aspects of the present disclosure in accordance with various embodiments. FIG. 10 depicts a simplified diagram of a distributed system 1000 for implementing one of the embodiments. In the illustrated embodiment, distributed system 1000 includes one or more client computing devices 1002, 1004, 1006, and 1008, which are configured to execute and operate a client application such as a web browser, proprietary client (e.g., Oracle Forms), or the like over one or more network(s) 1010. Server 1012 may be communicatively coupled with remote client computing devices 1002, 1004, 1006, and 1008 via network 1010.

In various embodiments, server 1012 may be adapted to run one or more services or software applications provided by one or more of the components of the system. The services or software applications can include non-virtual and virtual environments. Virtual environments can include those used for virtual events, tradeshows, simulators, classrooms, shopping exchanges, and enterprises, whether two- or three-dimensional (3D) representations, page-based logical environments, or otherwise. In some embodiments, these services may be offered as web-based or cloud services or under a Software as a Service (SaaS) model to the users of client computing devices 1002, 1004, 1006, and/or 1008. Users operating client computing devices 1002, 1004, 1006, and/or 1008 may in turn utilize one or more client applications to interact with server 1012 to utilize the services provided by these components.

In the configuration depicted in the figure, the software components 1018, 1020 and 1022 of system 1000 are shown as being implemented on server 1012. In other embodiments, one or more of the components of system 1000 and/or the services provided by these components may also be implemented by one or more of the client computing devices 1002, 1004, 1006, and/or 1008. Users operating the client computing devices may then utilize one or more client applications to use the services provided by these components. These components may be implemented in hardware, firmware, software, or combinations thereof. It should be appreciated that various different system configurations are possible, which may be different from distributed system 1000. The embodiment shown in the figure is thus one example of a distributed system for implementing an embodiment system and is not intended to be limiting.

Client computing devices 1002, 1004, 1006, and/or 1008 may be portable handheld devices (e.g., an iPhone®, cellular telephone, an iPad®, computing tablet, a personal digital assistant (PDA)) or wearable devices (e.g., a Google Glass® head mounted display), running software such as Microsoft Windows Mobile®, and/or a variety of mobile operating systems such as iOS, Windows Phone, Android, BlackBerry 8, Palm OS, and the like, and being Internet, e-mail, short message service (SMS), Blackberry®, or other communication protocol enabled. The client computing devices can be general purpose personal computers including, by way of example, personal computers and/or laptop computers running various versions of Microsoft Windows®, Apple Macintosh®, and/or Linux operating systems. The client computing devices can be workstation computers running any of a variety of commercially-available UNIX® or UNIX-like operating systems, including without limitation the variety of GNU/Linux operating systems, such as for example, Google Chrome OS. Alternatively, or in addition, client computing devices 1002, 1004, 1006, and 1008 may be any other electronic device, such as a thin-client computer, an Internet-enabled gaming system (e.g., a Microsoft Xbox gaming console with or without a Kinect® gesture input device), and/or a personal messaging device, capable of communicating over network(s) 1010.

Although exemplary distributed system 1000 is shown with four client computing devices, any number of client computing devices may be supported. Other devices, such as devices with sensors, etc., may interact with server 1012.

Network(s) 1010 in distributed system 1000 may be any type of network familiar to those skilled in the art that can support data communications using any of a variety of commercially-available protocols, including without limitation TCP/IP (transmission control protocol/Internet protocol), SNA (systems network architecture), IPX (Internet packet exchange), AppleTalk, and the like. Merely by way of example, network(s) 1010 can be a local area network (LAN), such as one based on Ethernet, Token-Ring and/or the like. Network(s) 1010 can be a wide-area network and the Internet. It can include a virtual network, including without limitation a virtual private network (VPN), an intranet, an extranet, a public switched telephone network (PSTN), an infra-red network, a wireless network (e.g., a network operating under any of the Institute of Electrical and Electronics (IEEE) 1002.11 suite of protocols, Bluetooth®, and/or any other wireless protocol); and/or any combination of these and/or other networks.

Server 1012 may be composed of one or more general purpose computers, specialized server computers (including, by way of example, PC (personal computer) servers, UNIX® servers, mid-range servers, mainframe computers, rack-mounted servers, etc.), server farms, server clusters, or any other appropriate arrangement and/or combination. Server 1012 can include one or more virtual machines running virtual operating systems, or other computing architectures involving virtualization. One or more flexible pools of logical storage devices can be virtualized to maintain virtual storage devices for the server. Virtual networks can be controlled by server 1012 using software defined networking. In various embodiments, server 1012 may be adapted to run one or more services or software applications described in the foregoing disclosure. For example, server 1012 may correspond to a server for performing processing described above according to an embodiment of the present disclosure.

Server 1012 may run an operating system including any of those discussed above, as well as any commercially available server operating system. Server 1012 may also run any of a variety of additional server applications and/or mid-tier applications, including HTTP (hypertext transport protocol) servers, FTP (file transfer protocol) servers, CGI (common gateway interface) servers, JAVA® servers, database servers, and the like. Exemplary database servers include without limitation those commercially available from Oracle, Microsoft, Sybase, IBM (International Business Machines), and the like.

In some implementations, server 1012 may include one or more applications to analyze and consolidate data feeds and/or event updates received from users of client computing devices 1002, 1004, 1006, and 1008. As an example, data feeds and/or event updates may include, but are not limited to, Twitter® feeds, Facebook® updates or real-time updates received from one or more third party information sources and continuous data streams, which may include real-time events related to sensor data applications, financial tickers, network performance measuring tools (e.g., network monitoring and traffic management applications), clickstream analysis tools, automobile traffic monitoring, and the like. Server 1012 may also include one or more applications to display the data feeds and/or real-time events via one or more display devices of client computing devices 1002, 1004, 1006, and 1008.

Distributed system 1000 may also include one or more databases 1014 and 1016. Databases 1014 and 1016 may reside in a variety of locations. By way of example, one or more of databases 1014 and 1016 may reside on a non-transitory storage medium local to (and/or resident in) server 1012. Alternatively, databases 1014 and 1016 may be remote from server 1012 and in communication with server 1012 via a network-based or dedicated connection. In one set of embodiments, databases 1014 and 1016 may reside in a storage-area network (SAN). Similarly, any necessary files for performing the functions attributed to server 1012 may be stored locally on server 1012 and/or remotely, as appropriate. In one set of embodiments, databases 1014 and 1016 may include relational databases, such as databases provided by Oracle, that are adapted to store, update, and retrieve data in response to SQL-formatted commands.

FIG. 11 is a simplified block diagram of one or more components of a system environment 1100 by which services provided by one or more components of an embodiment system may be offered as cloud services, in accordance with an embodiment of the present disclosure. In the illustrated embodiment, system environment 1100 includes one or more client computing devices 1104, 1106, and 1108 that may be used by users to interact with a cloud infrastructure system 1102 that provides cloud services. The client computing devices may be configured to operate a client application such as a web browser, a proprietary client application (e.g., Oracle Forms), or some other application, which may be used by a user of the client computing device to interact with cloud infrastructure system 1102 to use services provided by cloud infrastructure system 1102.

It should be appreciated that cloud infrastructure system 1102 depicted in the figure may have other components than those depicted. Further, the embodiment shown in the figure is only one example of a cloud infrastructure system that may incorporate an embodiment of the disclosure. In some other embodiments, cloud infrastructure system 1102 may have more or fewer components than shown in the figure, may combine two or more components, or may have a different configuration or arrangement of components.

Client computing devices 1104, 1106, and 1108 may be devices similar to those described above for 1002, 1004, 1006, and 1008.

Although exemplary system environment 1100 is shown with three client computing devices, any number of client computing devices may be supported. Other devices such as devices with sensors, etc. may interact with cloud infrastructure system 1102.

Network(s) 1110 may facilitate communications and exchange of data between clients 1104, 1106, and 1108 and cloud infrastructure system 1102. Each network may be any type of network familiar to those skilled in the art that can support data communications using any of a variety of commercially-available protocols, including those described above for network(s) 610.

Cloud infrastructure system 1102 may comprise one or more computers and/or servers that may include those described above for server 1012.

In certain embodiments, services provided by the cloud infrastructure system may include a host of services that are made available to users of the cloud infrastructure system on demand, such as online data storage and backup solutions, Web-based e-mail services, hosted office suites and document collaboration services, database processing, managed technical support services, and the like. Services provided by the cloud infrastructure system can dynamically scale to meet the needs of its users. A specific instantiation of a service provided by cloud infrastructure system is referred to herein as a “service instance.” In general, any service made available to a user via a communication network, such as the Internet, from a cloud service provider's system is referred to as a “cloud service.” Typically, in a public cloud environment, servers and systems that make up the cloud service provider's system are different from the customer's own on-premises servers and systems. For example, a cloud service provider's system may host an application, and a user may, via a communication network such as the Internet, on demand, order and use the application.

In some examples, a service in a computer network cloud infrastructure may include protected computer network access to storage, a hosted database, a hosted web server, a software application, or other service provided by a cloud vendor to a user, or as otherwise known in the art. For example, a service can include password-protected access to remote storage on the cloud through the Internet. As another example, a service can include a web service-based hosted relational database and a script-language middleware engine for private use by a networked developer. As another example, a service can include access to an email software application hosted on a cloud vendor's web site.

In certain embodiments, cloud infrastructure system 1102 may include a suite of applications, middleware, and database service offerings that are delivered to a customer in a self-service, subscription-based, elastically scalable, reliable, highly available, and secure manner. An example of such a cloud infrastructure system is the Oracle Public Cloud provided by the present assignee.

‘Big data’ can be hosted and/or manipulated by the infrastructure system on many levels and at different scales. Extremely large data sets can be stored and manipulated by analysts and researchers to visualize large amounts of data, detect trends, and/or otherwise interact with the data. Tens, hundreds, or thousands of processors linked in parallel can act upon such data in order to present it or simulate external forces on the data or what it represents. These data sets can involve structured data, such as that organized in a database or otherwise according to a structured model, and/or unstructured data (e.g., emails, images, data blobs (binary large objects), web pages, complex event processing). By leveraging an ability of an embodiment to relatively quickly focus more (or fewer) computing resources upon an objective, the cloud infrastructure system may be better available to carry out tasks on large data sets based on demand from a business, government agency, research organization, private individual, group of like-minded individuals or organizations, or other entity.

In various embodiments, cloud infrastructure system 1102 may be adapted to automatically provision, manage and track a customer's subscription to services offered by cloud infrastructure system 1102. Cloud infrastructure system 1102 may provide the cloud services via different deployment models. For example, services may be provided under a public cloud model in which cloud infrastructure system 1102 is owned by an organization selling cloud services (e.g., owned by Oracle) and the services are made available to the general public or different industry enterprises. As another example, services may be provided under a private cloud model in which cloud infrastructure system 1102 is operated solely for a single organization and may provide services for one or more entities within the organization. The cloud services may also be provided under a community cloud model in which cloud infrastructure system 1102 and the services provided by cloud infrastructure system 1102 are shared by several organizations in a related community. The cloud services may also be provided under a hybrid cloud model, which is a combination of two or more different models.

In some embodiments, the services provided by cloud infrastructure system 1102 may include one or more services provided under Software as a Service (SaaS) category, Platform as a Service (PaaS) category, Infrastructure as a Service (IaaS) category, or other categories of services including hybrid services. A customer, via a subscription order, may order one or more services provided by cloud infrastructure system 1102. Cloud infrastructure system 1102 then performs processing to provide the services in the customer's subscription order.

In some embodiments, the services provided by cloud infrastructure system 1102 may include, without limitation, application services, platform services and infrastructure services. In some examples, application services may be provided by the cloud infrastructure system via a SaaS platform. The SaaS platform may be configured to provide cloud services that fall under the SaaS category. For example, the SaaS platform may provide capabilities to build and deliver a suite of on-demand applications on an integrated development and deployment platform. The SaaS platform may manage and control the underlying software and infrastructure for providing the SaaS services. By utilizing the services provided by the SaaS platform, customers can utilize applications executing on the cloud infrastructure system. Customers can acquire the application services without the need for customers to purchase separate licenses and support. Various different SaaS services may be provided. Examples include, without limitation, services that provide solutions for sales performance management, enterprise integration, and business flexibility for large organizations.

In some embodiments, platform services may be provided by the cloud infrastructure system via a PaaS platform. The PaaS platform may be configured to provide cloud services that fall under the PaaS category. Examples of platform services may include without limitation services that enable organizations (such as Oracle) to consolidate existing applications on a shared, common architecture, as well as the ability to build new applications that leverage the shared services provided by the platform. The PaaS platform may manage and control the underlying software and infrastructure for providing the PaaS services. Customers can acquire the PaaS services provided by the cloud infrastructure system without the need for customers to purchase separate licenses and support. Examples of platform services include, without limitation, Oracle Java Cloud Service (JCS), Oracle Database Cloud Service (DBCS), and others.

By utilizing the services provided by the PaaS platform, customers can employ programming languages and tools supported by the cloud infrastructure system and also control the deployed services. In some embodiments, platform services provided by the cloud infrastructure system may include database cloud services, middleware cloud services (e.g., Oracle Fusion Middleware services), and Java cloud services. In one embodiment, database cloud services may support shared service deployment models that enable organizations to pool database resources and offer customers a Database as a Service in the form of a database cloud. Middleware cloud services may provide a platform for customers to develop and deploy various business applications, and Java cloud services may provide a platform for customers to deploy Java applications, in the cloud infrastructure system.

Various different infrastructure services may be provided by an IaaS platform in the cloud infrastructure system. The infrastructure services facilitate the management and control of the underlying computing resources, such as storage, networks, and other fundamental computing resources for customers utilizing services provided by the SaaS platform and the PaaS platform.

In certain embodiments, cloud infrastructure system 1102 may also include infrastructure resources 1130 for providing the resources used to provide various services to customers of the cloud infrastructure system. In one embodiment, infrastructure resources 1130 may include pre-integrated and optimized combinations of hardware, such as servers, storage, and networking resources to execute the services provided by the PaaS platform and the SaaS platform.

In some embodiments, resources in cloud infrastructure system 1102 may be shared by multiple users and dynamically re-allocated per demand. Additionally, resources may be allocated to users in different time zones. For example, cloud infrastructure system 1130 may enable a first set of users in a first time zone to utilize resources of the cloud infrastructure system for a specified number of hours and then enable the re-allocation of the same resources to another set of users located in a different time zone, thereby maximizing the utilization of resources.

In certain embodiments, a number of internal shared services 1132 may be provided that are shared by different components or modules of cloud infrastructure system 1102 and by the services provided by cloud infrastructure system 1102. These internal shared services may include, without limitation, a security and identity service, an integration service, an enterprise repository service, an enterprise manager service, a virus scanning and white list service, a high availability, backup and recovery service, service for enabling cloud support, an email service, a notification service, a file transfer service, and the like.

In certain embodiments, cloud infrastructure system 1102 may provide comprehensive management of cloud services (e.g., SaaS, PaaS, and IaaS services) in the cloud infrastructure system. In one embodiment, cloud management functionality may include capabilities for provisioning, managing and tracking a customer's subscription received by cloud infrastructure system 1102, and the like.

In one embodiment, as depicted in the figure, cloud management functionality may be provided by one or more modules, such as an order management module 1120, an order orchestration module 1122, an order provisioning module 1124, an order management and monitoring module 1126, and an identity management module 1128. These modules may include or be provided using one or more computers and/or servers, which may be general purpose computers, specialized server computers, server farms, server clusters, or any other appropriate arrangement and/or combination.

In exemplary operation 1134, a customer using a client device, such as client device 1104, 1106 or 1108, may interact with cloud infrastructure system 1102 by requesting one or more services provided by cloud infrastructure system 1102 and placing an order for a subscription for one or more services offered by cloud infrastructure system 1102. In certain embodiments, the customer may access a cloud User Interface (UI), cloud UI 1112, cloud UI 1114 and/or cloud UI 1116 and place a subscription order via these UIs. The order information received by cloud infrastructure system 1102 in response to the customer placing an order may include information identifying the customer and one or more services offered by the cloud infrastructure system 1102 that the customer intends to subscribe to.

After an order has been placed by the customer, the order information is received via the cloud UIs, 1112, 1114 and/or 1116.

At operation 1136, the order is stored in order database 1118. Order database 1118 can be one of several databases operated by cloud infrastructure system 1118 and operated in conjunction with other system elements.

At operation 1138, the order information is forwarded to an order management module 1120. In some instances, order management module 1120 may be configured to perform billing and accounting functions related to the order, such as verifying the order, and upon verification, booking the order.

At operation 1140, information regarding the order is communicated to an order orchestration module 1122. Order orchestration module 1122 may utilize the order information to orchestrate the provisioning of services and resources for the order placed by the customer. In some instances, order orchestration module 1122 may orchestrate the provisioning of resources to support the subscribed services using the services of order provisioning module 1124.

In certain embodiments, order orchestration module 1122 enables the management of business processes associated with each order and applies business logic to determine whether an order should proceed to provisioning. At operation 1142, upon receiving an order for a new subscription, order orchestration module 1122 sends a request to order provisioning module 1124 to allocate resources and configure those resources needed to fulfill the subscription order. Order provisioning module 1124 enables the allocation of resources for the services ordered by the customer. Order provisioning module 1124 provides a level of abstraction between the cloud services provided by cloud infrastructure system 1100 and the physical implementation layer that is used to provision the resources for providing the requested services. Order orchestration module 1122 may thus be isolated from implementation details, such as whether or not services and resources are actually provisioned on the fly or pre-provisioned and only allocated/assigned upon request.

At operation 1144, once the services and resources are provisioned, a notification of the provided service may be sent to customers on client devices 1104, 1106 and/or 1108 by order provisioning module 1124 of cloud infrastructure system 1102.

At operation 1146, the customer's subscription order may be managed and tracked by an order management and monitoring module 1126. In some instances, order management and monitoring module 1126 may be configured to collect usage statistics for the services in the subscription order, such as the amount of storage used, the amount data transferred, the number of users, and the amount of system up time and system down time.

In certain embodiments, cloud infrastructure system 1100 may include an identity management module 1128. Identity management module 1128 may be configured to provide identity services, such as access management and authorization services in cloud infrastructure system 1100. In some embodiments, identity management module 1128 may control information about customers who wish to utilize the services provided by cloud infrastructure system 1102. Such information can include information that authenticates the identities of such customers and information that describes which actions those customers are authorized to perform relative to various system resources (e.g., files, directories, applications, communication ports, memory segments, etc.) Identity management module 1128 may also include the management of descriptive information about each customer and about how and by whom that descriptive information can be accessed and modified.

FIG. 12 illustrates an exemplary computer system 1200, in which various embodiments of the present disclosure may be implemented. The system 1200 may be used to implement any of the computer systems described above. As shown in the figure, computer system 1200 includes a processing unit 1204 that communicates with a number of peripheral subsystems via a bus subsystem 1202. These peripheral subsystems may include a processing acceleration unit 1206, an I/O subsystem 1208, a storage subsystem 1218 and a communications subsystem 1224. Storage subsystem 1218 includes tangible computer-readable storage media 1222 and a system memory 1210.

Bus subsystem 1202 provides a mechanism for letting the various components and subsystems of computer system 1200 communicate with each other as intended. Although bus subsystem 1202 is shown schematically as a single bus, alternative embodiments of the bus subsystem may utilize multiple buses. Bus subsystem 1202 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. For example, such architectures may include an Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, which can be implemented as a Mezzanine bus manufactured to the IEEE P1386.1 standard.

Processing unit 1204, which can be implemented as one or more integrated circuits (e.g., a conventional microprocessor or microcontroller), controls the operation of computer system 1200. One or more processors may be included in processing unit 1204. These processors may include single core or multicore processors. In certain embodiments, processing unit 1204 may be implemented as one or more independent processing units 1232 and/or 1234 with single or multicore processors included in each processing unit. In other embodiments, processing unit 1204 may also be implemented as a quad-core processing unit formed by integrating two dual-core processors into a single chip.

In various embodiments, processing unit 1204 can execute a variety of programs in response to program code and can maintain multiple concurrently executing programs or processes. At any given time, some or all of the program code to be executed can be resident in processor(s) 1204 and/or in storage subsystem 1218. Through suitable programming, processor(s) 1204 can provide various functionalities described above. Computer system 1200 may additionally include a processing acceleration unit 1206, which can include a digital signal processor (DSP), a special-purpose processor, and/or the like.

I/O subsystem 1208 may include user interface input devices and user interface output devices. User interface input devices may include a keyboard, pointing devices such as a mouse or trackball, a touchpad or touch screen incorporated into a display, a scroll wheel, a click wheel, a dial, a button, a switch, a keypad, audio input devices with voice command recognition systems, microphones, and other types of input devices. User interface input devices may include, for example, motion sensing and/or gesture recognition devices such as the Microsoft Kinect® motion sensor that enables users to control and interact with an input device, such as the Microsoft Xbox® 360 game controller, through a natural user interface using gestures and spoken commands. User interface input devices may also include eye gesture recognition devices such as the Google Glass® blink detector that detects eye activity (e.g., ‘blinking’ while taking pictures and/or making a menu selection) from users and transforms the eye gestures as input into an input device (e.g., Google Glass®). Additionally, user interface input devices may include voice recognition sensing devices that enable users to interact with voice recognition systems (e.g., Siri® navigator), through voice commands.

User interface input devices may also include, without limitation, three dimensional (3D) mice, joysticks or pointing sticks, gamepads and graphic tablets, and audio/visual devices such as speakers, digital cameras, digital camcorders, portable media players, webcams, image scanners, fingerprint scanners, barcode reader 3D scanners, 3D printers, laser rangefinders, and eye gaze tracking devices. Additionally, user interface input devices may include, for example, medical imaging input devices such as computed tomography, magnetic resonance imaging, position emission tomography, medical ultrasonography devices. User interface input devices may also include, for example, audio input devices such as MIDI keyboards, digital musical instruments and the like.

User interface output devices may include a display subsystem, indicator lights, or non-visual displays such as audio output devices, etc. The display subsystem may be a cathode ray tube (CRT), a flat-panel device, such as that using a liquid crystal display (LCD) or plasma display, a projection device, a touch screen, and the like. In general, use of the term “output device” is intended to include all possible types of devices and mechanisms for outputting information from computer system 1200 to a user or other computer. For example, user interface output devices may include, without limitation, a variety of display devices that visually convey text, graphics and audio/video information such as monitors, printers, speakers, headphones, automotive navigation systems, plotters, voice output devices, and modems.

Computer system 1200 may comprise a storage subsystem 1218 that comprises software elements, shown as being currently located within a system memory 1210. System memory 1210 may store program instructions that are loadable and executable on processing unit 1204, as well as data generated during the execution of these programs.

Depending on the configuration and type of computer system 1200, system memory 1210 may be volatile (such as random access memory (RAM)) and/or non-volatile (such as read-only memory (ROM), flash memory, etc.) The RAM typically contains data and/or program modules that are immediately accessible to and/or presently being operated and executed by processing unit 1204. In some implementations, system memory 1210 may include multiple different types of memory, such as static random access memory (SRAM) or dynamic random access memory (DRAM). In some implementations, a basic input/output system (BIOS), containing the basic routines that help to transfer information between elements within computer system 1200, such as during start-up, may typically be stored in the ROM. By way of example, and not limitation, system memory 1210 also illustrates application programs 1212, which may include client applications, Web browsers, mid-tier applications, relational database management systems (RDBMS), etc., program data 1214, and an operating system 1216. By way of example, operating system 1216 may include various versions of Microsoft Windows®, Apple Macintosh®, and/or Linux operating systems, a variety of commercially-available UNIX® or UNIX-like operating systems (including without limitation the variety of GNU/Linux operating systems, the Google Chrome® OS, and the like) and/or mobile operating systems such as iOS, Windows® Phone, Android® OS, BlackBerry® 12 OS, and Palm® OS operating systems.

Storage subsystem 1218 may also provide a tangible computer-readable storage medium for storing the basic programming and data constructs that provide the functionality of some embodiments. Software (programs, code modules, instructions) that when executed by a processor provide the functionality described above may be stored in storage subsystem 1218. These software modules or instructions may be executed by processing unit 1204. Storage subsystem 1218 may also provide a repository for storing data used in accordance with the present disclosure.

Storage subsystem 1200 may also include a computer-readable storage media reader 1220 that can further be connected to computer-readable storage media 1222. Together and, optionally, in combination with system memory 1210, computer-readable storage media 1222 may comprehensively represent remote, local, fixed, and/or removable storage devices plus storage media for temporarily and/or more permanently containing, storing, transmitting, and retrieving computer-readable information.

Computer-readable storage media 1222 containing code, or portions of code, can also include any appropriate media known or used in the art, including storage media and communication media, such as but not limited to, volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage and/or transmission of information. This can include tangible, non-transitory computer-readable storage media such as RAM, ROM, electronically erasable programmable ROM (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disk (DVD), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or other tangible computer readable media. When specified, this can also include nontangible, transitory computer-readable media, such as data signals, data transmissions, or any other medium which can be used to transmit the desired information and which can be accessed by computing system 1200.

By way of example, computer-readable storage media 1222 may include a hard disk drive that reads from or writes to non-removable, nonvolatile magnetic media, a magnetic disk drive that reads from or writes to a removable, nonvolatile magnetic disk, and an optical disk drive that reads from or writes to a removable, nonvolatile optical disk such as a CD ROM, DVD, and Blu-Ray® disk, or other optical media. Computer-readable storage media 1222 may include, but is not limited to, Zip® drives, flash memory cards, universal serial bus (USB) flash drives, secure digital (SD) cards, DVD disks, digital video tape, and the like. Computer-readable storage media 1222 may also include, solid-state drives (SSD) based on non-volatile memory such as flash-memory based SSDs, enterprise flash drives, solid state ROM, and the like, SSDs based on volatile memory such as solid state RAM, dynamic RAM, static RAM, DRAM-based SSDs, magnetoresistive RAM (MRAM) SSDs, and hybrid SSDs that use a combination of DRAM and flash memory based SSDs. The disk drives and their associated computer-readable media may provide non-volatile storage of computer-readable instructions, data structures, program modules, and other data for computer system 1200.

Communications subsystem 1224 provides an interface to other computer systems and networks. Communications subsystem 1224 serves as an interface for receiving data from and transmitting data to other systems from computer system 1200. For example, communications subsystem 1224 may enable computer system 1200 to connect to one or more devices via the Internet. In some embodiments communications subsystem 1224 can include radio frequency (RF) transceiver components for accessing wireless voice and/or data networks (e.g., using cellular telephone technology, advanced data network technology, such as 3G, 4G or EDGE (enhanced data rates for global evolution), WiFi (IEEE 602.11 family standards, or other mobile communication technologies, or any combination thereof), global positioning system (GPS) receiver components, and/or other components. In some embodiments communications subsystem 1224 can provide wired network connectivity (e.g., Ethernet) in addition to or instead of a wireless interface.

In some embodiments, communications subsystem 1224 may also receive input communication in the form of structured and/or unstructured data feeds 1226, event streams 1228, event updates 1230, and the like on behalf of one or more users who may use computer system 1200.

By way of example, communications subsystem 1224 may be configured to receive data feeds 1226 in real-time from users of social media networks and/or other communication services such as Twitter® feeds, Facebook® updates, web feeds such as Rich Site Summary (RSS) feeds, and/or real-time updates from one or more third party information sources.

Additionally, communications subsystem 1224 may also be configured to receive data in the form of continuous data streams, which may include event streams 1228 of real-time events and/or event updates 1230, that may be continuous or unbounded in nature with no explicit end. Examples of applications that generate continuous data may include, for example, sensor data applications, financial tickers, network performance measuring tools (e.g. network monitoring and traffic management applications), clickstream analysis tools, automobile traffic monitoring, and the like.

Communications subsystem 1224 may also be configured to output the structured and/or unstructured data feeds 1226, event streams 1228, event updates 1230, and the like to one or more databases that may be in communication with one or more streaming data source computers coupled to computer system 1200.

Computer system 1200 can be one of various types, including a handheld portable device (e.g., an iPhone® cellular phone, an iPad® computing tablet, a PDA), a wearable device (e.g., a Google Glass® head mounted display), a PC, a workstation, a mainframe, a kiosk, a server rack, or any other data processing system.

Due to the ever-changing nature of computers and networks, the description of computer system 1200 depicted in the figure is intended only as a specific example. Many other configurations having more or fewer components than the system depicted in the figure are possible. For example, customized hardware might also be used and/or particular elements might be implemented in hardware, firmware, software (including applets), or a combination. Further, connection to other computing devices, such as network input/output devices, may be employed. Based on the disclosure and teachings provided herein, a person of ordinary skill in the art will appreciate other ways and/or methods to implement the various embodiments.

In the foregoing specification, aspects of the disclosure are described with reference to specific embodiments thereof, but those skilled in the art will recognize that the disclosure is not limited thereto. Various features and aspects of the above-described disclosure may be used individually or jointly. Further, embodiments can be utilized in any number of environments and applications beyond those described herein without departing from the broader spirit and scope of the specification. The specification and drawings are, accordingly, to be regarded as illustrative rather than restrictive. 

What is claimed is:
 1. A method for processing a continuous data stream of events using a distributed event processing system, the method comprising: receiving, at a first computing device of a plurality of computing devices in the distributed event processing system, information that identifies an application; determining, by the first computing device, that the application is to be deployed; transmitting, by the first computing device, an instruction to deploy the application to a cluster of computing nodes in the distributed event processing system based at least in part on the determining, the cluster of computing nodes comprising at least a subset of the plurality of computing devices in the distributed event processing system; receiving, at a first service associated with the first computing device, information that identifies a location of a computing node in the cluster of computing nodes where the application is deployed; storing, by the first computing device, the information that identifies the location of the computing node; receiving, at the first computing device, event data related to the application via an event stream; transmitting, by the first computing device, the event data to the computing node in the cluster of computing nodes for processing; receiving, by the first computing device, results related to processing of the event data from the computing node in the cluster of computing nodes; and transmitting, by the first computing device, the results to a user of the first computing device.
 2. The method of claim 1, further comprising: receiving, at the first computing device, an update to the application; determining, by the first computing device, that the application is deployed on the computing node in the cluster of computing nodes; and transmitting, by the first computing device, the update to a second service on the cluster of computing nodes.
 3. The method of claim 2, wherein determining, by the first computing device, that the application is deployed on the computing node is based at least in part on the information that identifies the location of the computing node, stored in the computing node.
 4. The method of claim 3, wherein the information that identifies the location of the computing node in the cluster of computing nodes is determined by the second service associated with the cluster of computing nodes.
 5. The method of claim 2, wherein the computing node in the cluster of computing nodes is configured to: receive, from the second service, the update to the application; identify a portion of a Directed Acyclic Graph (DAG) of the application that corresponds to the update; and generate an updated DAG for the application based at least in part on the identified portion.
 6. The method of claim 5, further comprising: receiving, at the first computing device, the event data related to the application; transmitting, by the first computing device, the event data to the computing node in the cluster of computing nodes for processing; and receiving updated results related to the processing of the event data relative to the updated DAG of the application, from the computing node in the cluster of computing nodes.
 7. The method of claim 6, further comprising providing, by the first computing device, the updated results to the user of the first computing device.
 8. The method of claim 1, wherein the first service is a Representational State Transfer (REST) service associated with the first computing device.
 9. The method of claim 1, wherein the information that identifies the location of the computing node is a Universal Resource Locator (URL) of the computing node on the cluster of computing nodes.
 10. A computer-readable medium storing computer-executable instructions that, when executed by one or more processors, configures one or more computer systems to perform at least: instructions that cause the one or more processors to receive information that identifies an application; instructions that cause the one or more processors to determine that the application is to be deployed; instructions that cause the one or more processors to transmit an instruction to deploy the application to a cluster of computing nodes in a distributed event processing system based at least in part on the instructions to determine; instructions that cause the one or more processors to receive, at a first service, information that identifies a location of a computing node in the cluster of computing nodes where the application is deployed; and instructions that cause the one or more processors to store the information that identifies the location of the computing node.
 11. The computer-readable medium of claim 10, further comprising instructions that cause the one or more processors to: receive event data related to the application via an event stream; transmit the event data to the computing node in the cluster of computing nodes for processing; receive results related to the processing of the event data from the computing node in the cluster of computing nodes; and transmit the results to a user of the first computing device.
 12. The computer-readable medium of claim 10, wherein the computing node in the cluster of computing nodes is configured to: generate a DAG of transformations associated with the application; identify a set of tasks to be executed based at least in part on the DAG of transformations; invoke a set of worker computing nodes to perform the set of tasks, the set of tasks identified based at least in part on the set of one or more transformations associated with the application; and execute the set of tasks relative to the event data received via the event stream.
 13. The computer-readable medium of claim 12, wherein the computing node in the cluster of computing nodes is configured to: generate results related to processing of the event data based at least in part on the execution of the set of tasks; and transmit the results to the first computing device.
 14. The computer-readable medium of claim 10, further comprising instructions that cause the one or more processors to: receive an update to the application; determine that the application is deployed on the computing node in the cluster of computing nodes; and transmit the update to a second service on the cluster of computing nodes.
 15. The computer-readable medium of claim 10, wherein the second service is a REST service associated with the cluster of computing nodes.
 16. A distributed event processing, comprising: a memory storing a plurality of instructions; and a processor configured to access the memory, the processor further configured to execute the plurality of instructions to at least: receive information that identifies an application; determine that the application is to be deployed; transmit an instruction to deploy the application to a cluster of computing nodes in the distributed event processing system based at least in part on the determining; receive, at a first service, information that identifies a location of a computing node in the cluster of computing nodes where the application is deployed; and store the information that identifies the location of the computing node.
 17. The system of claim 16, wherein the processor is further configured to execute the plurality of instructions to: receive an update to the application; determine that the application is deployed on the computing node in the cluster of computing nodes; and transmit the update to a second service on the cluster of computing nodes.
 18. The system of claim 17, wherein the processor is further configured to execute the plurality of instructions to determine that the application is deployed on the computing node is based at least in part on the information that identifies the location of the computing node, stored in the computing node.
 19. The system of claim 18, wherein the information that identifies the location of the computing node in the cluster of computing nodes is determined by the second service associated with the cluster of computing nodes.
 20. The system of claim 19, wherein the second service is a REST service associated with the cluster of computing nodes. 